import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

Vue.config.productionTip = false;

// icon
import "./icons";
// css样式重置
import "./style/common.css";
import "./style/index.scss";

// vant
import "vant/lib/index.css";
import {
  Tabbar,
  TabbarItem,
  Swipe,
  SwipeItem,
  Lazyload,
  Tab,
  Tabs,
  Field,
  Notify,
  Toast,
  Cell,
  CellGroup,
  Icon,
  Form,
  Button,
  Picker,
  Popup,
  PasswordInput,
  NumberKeyboard,
  Checkbox,
  PullRefresh,
  Area,
  Dialog,
  Image
} from "vant";
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Lazyload);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Field);
Vue.use(Notify);
Vue.use(Toast);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Icon);
Vue.use(Form);
Vue.use(Button);
Vue.use(Picker);
Vue.use(Popup);
Vue.use(PasswordInput);
Vue.use(NumberKeyboard);
Vue.use(Checkbox);
Vue.use(PullRefresh);
Vue.use(Area);
Vue.use(Dialog);
Vue.use(Image);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
